package com.heima.bingfagongjulei;

import java.util.concurrent.CountDownLatch;

public class Mother01 extends Thread {
    private CountDownLatch countDown;
    public Mother01(CountDownLatch countDown){this.countDown=countDown;}
    @Override
    public void run() {
        try {
            countDown.await();
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("妈妈在收拾碗筷");
    }
}
